package org.example.lotterysystem.controller.param;


import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

@Data
public class UserRegistrParam implements Serializable {
    //姓名
    @NotBlank(message = "姓名不能为空")
    private String name;
    //邮箱地址
    @NotBlank(message = "邮箱不能为空")
    private String mail;
    //电话
    @NotBlank(message = "电话不能为空")
    private String phoneNumber;
    //密码
    private String password;
    //身份信息
    @NotBlank(message = "身份信息不能为空")
    private String identity;
}
